package com.example.demo.domain;

import com.example.demo.annotation.ValidateParam;

public class User {


    @ValidateParam(regular = "[0-8]")
    private Integer phone;


    private String note;

    public Integer getPhone() {
        return phone;
    }

    public void setPhone(Integer phone) {
        this.phone = phone;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }
}
